package com.ajie.entity;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class Comment {
    
    @ApiModelProperty(value = "主键")
    private Long id;
    
    @ApiModelProperty(value = "评论文章id")
    private Long topicId;
    
    @ApiModelProperty(value = "主题类型")
    private String topicType;
    
    @ApiModelProperty(value = "评论内容")
    private String content;
    
    @ApiModelProperty(value = "评论用户id")
    private Long commentUid;
    
    @ApiModelProperty(value = "评论用户头像")
    private String avatar;
    
    @ApiModelProperty(value = "评论用户昵称")
    private String nickName;
    
    @ApiModelProperty(value = "评论时间")
    private String time;
    
    @ApiModelProperty(value = "父评论id")
    private Long parentId;
    
    
    @ApiModelProperty(value = "目标用户名")
    private String target;
    
    @ApiModelProperty(value = "点赞量")
    private Long likeNum;
    
    @ApiModelProperty(value = "子评论")
    private List<Comment> children;
    
}
